add_ops_compile_options(
        OP_NAME ForeachAddScalar
        OPTIONS --cce-auto-sync=on
                -Wno-deprecated-declarations
                -Werror
)

target_sources(op_host_aclnn PRIVATE
op_host/foreach_add_scalar.cpp
)

target_sources(optiling PRIVATE
        op_host/foreach_add_scalar.cpp
)

target_include_directories(optiling PRIVATE
        ${CMAKE_CURRENT_SOURCE_DIR}/op_host
)

target_sources(opsproto PRIVATE
         op_host/foreach_add_scalar.cpp
)

install(FILES op_kernel/foreach_add_scalar.cpp
        DESTINATION ${ASCEND_IMPL_OUT_DIR}/dynamic)